<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>学生详细信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/css/common.css" type="text/css" />

		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/N13FormValidation-2.js"></script>

	</head>

	<body>
		<div id="page_container">
			<jsp:include page="studentnav.jsp"></jsp:include>
			<h2>学生详细信息</h2>
			<s:form action="student/updatestudent.action" enctype="multipart/form-data" method="POST"
				id="insertstudent" theme="simple">
				<table class="table_common">
					<tr>
						<td class="td_left">
							学号：
						</td>
						<td class="td_right">
							<s:textfield name="student.studentno" id="studentno"></s:textfield>
						</td>
					</tr>
					<tr>
						<td class="td_left">
							学生照片：
						</td>						
						<td class="td_right">
						<img src="<%=request.getContextPath()%><s:property value="student.studentpicturepath"/>" width="75px" height="100px"/>
						</td>
					</tr>
					<!--  
					<tr>
						<td class="td_left">
							密码：
						</td>
						<td class="td_right">
							<s:password name="student.studentpassword" id="studentpassword" />
						</td>
					</tr>
					<tr>
						<td class="td_left">
							确认密码：
						</td>
						<td class="td_right">
							<s:password id="restudentpassword" />
						</td>
					</tr>
					-->
					<tr>
						<td class="td_left">
							姓名：
						</td>
						<td class="td_right">
							<s:textfield name="student.studentname" id="studentname"></s:textfield>
						</td>
					</tr>
					<tr>
						<td class="td_left">
							性别：
						</td>
						<td class="td_right">
						<s:textfield name="student.studentgender" id="studentname"></s:textfield>
						</td>
					</tr>
					<tr>
						<td class="td_left">
							出生日期：
						</td>
						<td class="td_right">
							<s:textfield name="student.studentbirthday " id="studentbirthday"></s:textfield>
							格式：YYYY-MM-DD
						</td>
					</tr>
					<tr>
						<td class="td_left">
							联系电话：
						</td>
						<td class="td_right">
							<s:textfield name="student.studenttelephone"
								id="studenttelephone"></s:textfield>
						</td>
					</tr>
				</table>
				<!--<s:submit value="submit"></s:submit>-->
			</s:form>
		</div>		
	</body>
</html>
